package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PersonTeachingHistory;
import com.zhijian.medical.entity.vo.request.PersonTeachingHistorySearchVo;
import com.zhijian.medical.entity.vo.response.PersonTeachingHistoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonTeachingHistoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PersonTeachingHistory record);

    int insertSelective(PersonTeachingHistory record);

    PersonTeachingHistory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PersonTeachingHistory record);

    int updateByPrimaryKey(PersonTeachingHistory record);

    int count(PersonTeachingHistorySearchVo personTeachingHistorySearchVo);

    List<PersonTeachingHistoryVo> selectList(PersonTeachingHistorySearchVo personTeachingHistorySearchVo);

    PersonTeachingHistoryVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<PersonTeachingHistory> entities);
}